#!/usr/bin/env python
# -*- coding: utf-8 -*-

__author__ = 'syxbyi'
__version__ = '1.0.0'

from os.path import dirname, join
import os
import shutil

def config_file():
    src = join(dirname(__file__), 'ycm_config')
    dst = join(join(os.environ['HOME'], '.vim'), '.ycm_extra_conf.py')
    print('--- Start copy file \'%s\' to \'%s\'' % (src, dst))
    shutil.copy(src, dst)
    print('--- Done')
    return

def main():
    config_file()
    return

if __name__ == '__main__':
    main()

